<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Sport et Business </title>
<META name="Description" content="">
<link href="<?php echo base_url().'assets/css/'?>styles.css" rel="stylesheet" type="text/css" />
<script src="<?php echo base_url().'assets/js/'?>jquery-1.4.min.js" type="text/javascript" charset="utf-8"></script>
<script src="<?php echo base_url().'assets/js/'?>loopedslider.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="<?php echo base_url().'assets/js/'?>dropdown.js" charset="utf-8"></script>
</head>
<body  style="background:url(<?php echo base_url();?>assets/css/image/body.png) repeat-x" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0">

<?php
    $active1="";
    $active2="";
    $active3="";
    $active4="";
    $active5="";
    $active6="";
    if($page=="index"){
        $active1="active";
    }
    if($page=="presentation"){
        $active2="active";
    }
    if($page=="fonctionnement"){
        $active3="active";
    }
    if($page=="inscription"){
        $active4="active";
    }
    if($page=="adherence"){
        $active5="active";
    }
    if($page=="newletters"){
        $active6="active";
    }


//$userid = 28;
$userid=$this->session->userdata('userid');
//$username = "Minh";
$username=$this->session->userdata('username');

?>

<div align="center">
<div id="top">
    <table width="1000px">
        <tr>
            <td align="left">  <a href="<?php echo site_url('home');?>"><img border="0" src="<?php echo base_url();?>assets/css/image/logo.png" alt="logo"/></a> </td>
       <td align="right" style="color:#ffffff">  <?php if (isset($userid) && $userid != NULL) {?>
            Bonjour <span id="username"><?php echo $username;?></span> | <a href="<?php echo site_url('compte');?>">Mon compte</a> | <a href="<?php echo site_url('home/deconnexion');?>">Deconnexion</a>
            <?php } else {?>
            <a href="<?php echo site_url('home/login');?>">Se connecter </a> | <a href="<?php echo site_url('newsletter');?>">Newsletter</a>
          
            <?php }?></td>
        </tr>
    </table>
   

        <div id="menu_header">

            <ul >
                <li id="<?php echo $active1?>"><img class="bgr_menu_left" src="<?php echo base_url();?>/assets/css/image/menu_left.png"/><a  href="<?php echo site_url('home');?>">ACCUEIL</a><img class="bgr_menu_right" src="<?php echo base_url();?>/assets/css/image/menu_right.png"/></li>
                <li id="<?php echo $active2?>"><img class="bgr_menu_left" src="<?php echo base_url();?>/assets/css/image/menu_left.png"/><a href="<?php echo site_url('home/presentation');?>">PRESENTATION</a><img class="bgr_menu_right" src="<?php echo base_url();?>/assets/css/image/menu_right.png"/>
                   <!--
                    <div class="sous_menu" align="left">
                    <ul>
                        <li style="width:250px;"><a href="<?php echo site_url('home/p_a_setb');?>">Pourquoi allier sport et business ?</a></li>
                        <li><a href="<?php echo site_url('home/principe');?>">Le principe</a> </li>
                        <li><a href="<?php echo site_url('home/principe');?>">Les objectifs</a></li>
                        <li><a href="<?php echo site_url('home/equipe_adherents');?>">L’équipe</a></li>
                        <li><a href="<?php echo site_url('home/equipe_adherents');?>">Nos adhérents</a> </li>
                    </ul>
                    </div>
                   -->
                </li>
                <li id="<?php echo $active3?>"><img class="bgr_menu_left" src="<?php echo base_url();?>/assets/css/image/menu_left.png"/><a href="<?php echo site_url('home/fonctionnement');?>">FONCTIONNEMENT</a><img class="bgr_menu_right" src="<?php echo base_url();?>/assets/css/image/menu_right.png"/>
                <!--
                    <div class="sous_menu" align="left">
                    <ul>
                        <li><a href="<?php echo site_url('home/pourquoi_adherer');?>">Pourquoi adhérer ?</a></li>
                        <li><a href="<?php echo site_url('home/reg_cont');?>">Les règles</a></li>
                        <li><a href="<?php echo site_url('home/reg_cont');?>">Conditions d’adhésion</a></li>
                    </ul>
                    </div>
                -->
                </li>
                <li id="<?php echo $active4?>"><img class="bgr_menu_left" src="<?php echo base_url();?>/assets/css/image/menu_left.png"/><a href="<?php echo site_url('inscription');?>">INSCRIPTION</a><img class="bgr_menu_right" src="<?php echo base_url();?>/assets/css/image/menu_right.png"/></li>
                <li id="<?php echo $active5?>" class="last"><img class="bgr_menu_left" src="<?php echo base_url();?>/assets/css/image/menu_left.png"/><a href="<?php echo site_url('home/adherent');?>">ESPACE ADHÉRENT</a><img class="bgr_menu_right" src="<?php echo base_url();?>/assets/css/image/menu_right.png"/></li>
               
                
            </ul>
           
        </div>
    </div>














